package com.ants.boot.wx.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 蚂蚁会花呗
 * @date 2022/4/28 14:52
 */
@ConfigurationProperties(
        prefix = "wx.applet"
)
@Component
public class WxAppletProperties {

    /**
     * 小程序appid
     */
    private String appId;

    /**
     * 小程序秘钥
     */
    private String secret;

    /**
     * 获取openid的url
     */
    private String openIdUrl;


    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getOpenIdUrl() {
        return openIdUrl;
    }

    public void setOpenIdUrl(String openIdUrl) {
        this.openIdUrl = openIdUrl;
    }
}
